package com.bwie.bean;

public class User {
    private Integer uid;
    private String uname;
    private String pwd;
    private Integer sid;//管理员1，学生0

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", sid=" + sid +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public User() {

    }

    public User(Integer uid, String uname, String pwd, Integer sid) {

        this.uid = uid;
        this.uname = uname;
        this.pwd = pwd;
        this.sid = sid;
    }
}
